package com.arm.module;

import com.arm.module.base.BaseModule;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "UserAccount", description = "用户账户对象")
public class UserAccount extends BaseModule {
    /**
     * 1：积分账户
     */
    public static final byte ACCOUNT_TYPE_INTEGRAL=1;
    /**
     * 2：余额账户
     */
    public static final byte ACCOUNT_TYPE_BALANCE=2;
    /**
     * 3：奖金账户
     */
    public static final byte ACCOUNT_TYPE_BONUS=3;

    @ApiModelProperty(value="用户Id",example="1",required=false)
    private Long userId;
    @ApiModelProperty(value="账户余额单位分",example="1",required=false)
    private Integer balance;
    @ApiModelProperty(value="账户类型（1：积分账户，2：余额账户）",example="1",required=false)
    private Byte accountType;


    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getBalance() {
        return balance;
    }

    public void setBalance(Integer balance) {
        this.balance = balance;
    }

    public Byte getAccountType() {
        return accountType;
    }

    public void setAccountType(Byte accountType) {
        this.accountType = accountType;
    }

}